/// address : "太原市杏花岭区教场巷30号院"
/// headImg : ""
/// name : "马伟强"
/// time : "2024-09-27 11:45:04"

class AttendanceUserDto {
  AttendanceUserDto({
      String? address, 
      String? headImg, 
      String? name, 
      String? time,}){
    _address = address;
    _headImg = headImg;
    _name = name;
    _time = time;
}

  AttendanceUserDto.fromJson(dynamic json) {
    _address = json['address'];
    _headImg = json['headImg'];
    _name = json['name'];
    _time = json['time'];
  }
  String? _address;
  String? _headImg;
  String? _name;
  String? _time;
AttendanceUserDto copyWith({  String? address,
  String? headImg,
  String? name,
  String? time,
}) => AttendanceUserDto(  address: address ?? _address,
  headImg: headImg ?? _headImg,
  name: name ?? _name,
  time: time ?? _time,
);
  String? get address => _address;
  String? get headImg => _headImg;
  String? get name => _name;
  String? get time => _time;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['address'] = _address;
    map['headImg'] = _headImg;
    map['name'] = _name;
    map['time'] = _time;
    return map;
  }

}